package cn.kgc.house.service;

import cn.kgc.house.mapper.HouseTypeMapper;
import cn.kgc.house.pojo.HouseType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HouseTypeServiceImpl implements HouseTypeService{
    @Resource
    HouseTypeMapper houseTypeMapper;
    @Override
    public List<HouseType> selectAll() {
        return houseTypeMapper.selectByExample(null);
    }
}
